package com.qf.shopping.pojo.message;

import javax.xml.crypto.Data;

/**
 * 系统消息表
 */
public class Message {

  private long id;
  private String title;
  private long userId;
  private String content;//消息内容
  private long type;//消息类型
  private String link;//发送链接
  private long isSchedule;//是否定时发送
  private long scheduleTime;//定时发送时间
  private long sendTime;//时间发送时间

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getType() {
        return type;
    }

    public void setType(long type) {
        this.type = type;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public long getIsSchedule() {
        return isSchedule;
    }

    public void setIsSchedule(long isSchedule) {
        this.isSchedule = isSchedule;
    }

    public long getScheduleTime() {
        return scheduleTime;
    }

    public void setScheduleTime(long scheduleTime) {
        this.scheduleTime = scheduleTime;
    }

    public long getSendTime() {
        return sendTime;
    }

    public void setSendTime(long sendTime) {
        this.sendTime = sendTime;
    }

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", userId=" + userId +
                ", content='" + content + '\'' +
                ", type=" + type +
                ", link='" + link + '\'' +
                ", isSchedule=" + isSchedule +
                ", scheduleTime=" + scheduleTime +
                ", sendTime=" + sendTime +
                '}';
    }
}
